The following table shows the options on the General tab of the Ramp Push Button Properties dialog box.
Options |
Descriptions |
---|---|
Appearance |
Specify the object's appearance in this area. |
Border style |
Select a border style for the object. If the object shape is circle or ellipse, the available border styles are None and Line. |
Border width |
Type the number of pixels for the width of the object’s border. |
Back style |
Specifies the object background. Available options are:
|
Pattern style |
Select a pattern for the object. The pattern appears on the face of the object. The pattern does not cover the object’s border, caption, or image (if any are defined for the object). If the object’s back style is transparent or gradient, the pattern is not visible. |
Shape |
Select the shape of the object. If the object shape is circle or ellipse, the application applies properties such as size and position by measuring in relation to the object’s bounding box. |
Border uses back color |
Select this check box to use the object’s background color for the border of the object. Clear this check box to use the selected Border Color. Specify the background color and the border color on the States tab. |
Back color |
This box shows the current background color for the object. Click it to select another color. If the background style is transparent, the application does not use this background color. If the background style is gradient, click it to bring up the Gradient Fill dialog box to configure the gradient fill. |
Border color |
This box shows the border color for the object. Click it to select another color. If Border uses back color is not selected, this color appears at run time. |
Pattern color |
This box shows the current pattern color for the object. Click it to select another color. |
Highlight color |
This box shows the current highlight color. Click it to select another color. The object's border, if any, changes to the highlight color when the operator presses the button at run time. |
Blink |
Select this check box if you want the object’s background to blink at run time. The blink rate is twice per second. If a pattern style is selected, the pattern also blinks. |
Button settings |
|
Use variable lower/upper limit |
Check this box to use tag or expression values for the object's highest (if Ramp up is selected) or lowest (if Ramp down is selected) value. If this box is checked, the Upper/Lower limit value text box is disabled, and the object's ramp value is controlled by the Limit connection |
Use variable ramp value |
Check this box to use tag or expression values for the object's ramp value. If this box is checked, the Ramp value text box is disabled, and the object's ramp value is controlled by the Ramp connection |
Ramp up |
Select this option to create a Ramp button that increases the Value connection’s value. |
Ramp down |
Select this option to create a Ramp button that decreases the Value connection’s value. |
Upper/Lower limit |
For Ramp up buttons, type the button’s upper limit, that is, the amount beyond which the button’s value cannot increase. For Ramp down buttons, type the button’s lower limit, that is, the amount beyond which the button’s value cannot decrease. |
Ramp value |
Type the amount to change the value by. Type a positive number. For a Ramp down button, the value is decreased by this amount. For a Ramp up button, the value is increased by this amount. If the ramp value is floating point and the Value connection is an integer tag, the application rounds the value before writing it to the connection. Pressing a Ramp button a second time before the previous increment or decrement has finished updating can affect the accuracy of the resulting numeric value. Wait for each increment or decrement to finish updating before pressing the Ramp button again. |
Touch margins |
You can specify a touch-insensitive margin inside the button’s edges. If the operator presses on the touch-insensitive margin, the button press is not registered. |
Horizontal margin |
Specifies the number of pixels for the distance inside the left and right edges of the button where the button will not be touch sensitive. |
Vertical margin |
Type the number of pixels for the vertical touch margin. The vertical margin is along the button’s top and bottom edges. |
Other |
|
Audio |
Select this check box to sound an internal beeper when the object is pressed. If the computer running the project does not have an internal beeper, the object press does not trigger a beep. |